package cn.marinda.listener;

import java.awt.event.AdjustmentEvent;
import java.awt.event.AdjustmentListener;

/**
 * 自动滚动面板事件
 *
 * @author admin
 * @date 2022/08/02
 */
public class AutoScrollPanelEvent implements AdjustmentListener {
    @Override
    public void adjustmentValueChanged(AdjustmentEvent e) {
        e.getAdjustable().setValue(e.getAdjustable().getMaximum());
    }
}
